# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=atools
pkgver=20.2.0
pkgrel=2
pkgdesc="Auxilary scripts for abuild"
url="https://gitlab.alpinelinux.org/Leo/atools"
arch="all"
license="MIT"
depends="lua5.3"
makedepends="scdoc redo go"
checkdepends="bats"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://gitlab.alpinelinux.org/Leo/atools/-/archive/$pkgver/atools-$pkgver.tar.gz"

build() {
	redo build
}

check() {
	redo check
}

package() {
	DESTDIR="$pkgdir" redo install
}

sha512sums="
1ce8b345689cf3555028d0f7d3f81e8cf63c13c4df9657c1feaee14561bc121ed02ca601a55803e3ef6ac92eec08f1a29d97a00265b71f01a6f12459ae12e013  atools-20.2.0.tar.gz
"
